package com.j1ay.forum.model.pojo.vo;

import com.j1ay.forum.model.pojo.po.Type;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * @Author J1ay
 * @Date 2021/12/14 22:02
 * @Description 问题
 */

@Data
@ApiModel("问题详情")
public class QuestionVo {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("问题题目")
    private String title;
    @ApiModelProperty("问题内容")
    private String content;
    @ApiModelProperty("提问者名字")
    private String authorName;
    @ApiModelProperty("问题类型")
    private Type type;
    @ApiModelProperty("点赞数")
    private int praise;
    @ApiModelProperty("赞同")
    private Long agreeId;
    @ApiModelProperty("指定")
    private int zhiding;
    @ApiModelProperty("浏览数")
    private int viewCount;
    @ApiModelProperty("id")
    private int answerCount;
    @ApiModelProperty("发帖时间")
    private String createTime;
    @ApiModelProperty("更新时间")
    private String updateTime;
    @ApiModelProperty("审核状态")
    private int status;
}
